/**
 * Company : SIANGKLOM.
 * Created By : Chatree Siangklom
 * Created On : Sep 30, 2013  11:12:42 AM 
 * e-Mail : dr_chatree@hotmail.com
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : com.tis.database.services.queue.impl
 * File Name : SyncQueueServicesImpl.java
 * TODO
 */
package com.tis.database.services.queue.impl;

import java.util.List;
import org.hibernate.HibernateException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.tis.database.dao.queue.SyncQueueDao;
import com.tis.database.entitys.queue.SyncQueue;
import com.tis.database.services.queue.ISyncQueueServices;

/**
 * @author Chatree Siangklom of Administrator
 * Date =Sep 30, 2013 : 11:12:42 AM 
 * CreateBy=Chatree Siangklom
 * TODO
 */
@Service
@Transactional(readOnly=true)
public class SyncQueueServicesImpl implements ISyncQueueServices {

	private static final Logger logging = LoggerFactory.getLogger(SyncQueueServicesImpl.class);
	
	@Autowired
	private SyncQueueDao syncQueueDao;
	/** (Javadoc)
	 * @see com.tis.database.services.queue.ISyncQueueServices#search(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
	 * Date =Sep 30, 2013 : 11:13:13 AM 
	 * CreateBy=Chatree Siangklom
	 * TODO
	 */
	@Override
	public List<SyncQueue> search(	String queueId, 
									String processModule,
									String processingName, 
									String processLevel, 
									String procCreatedonStart,
									String procCreatedonOnEnd) throws HibernateException, Exception {

		return syncQueueDao.search(queueId, processModule, processingName, processLevel, procCreatedonStart, procCreatedonOnEnd);
}


}
